<template>
  <div class="pa-5 bg-white">
    <el-tabs v-model="activeName" @tab-click="handleClick">
      <el-tab-pane label="指标定义" name="first">
        <IndicatorDefinition v-if="activeName === 'first'"></IndicatorDefinition>
      </el-tab-pane>
      <el-tab-pane label="指标标签" name="second">
        <IndicatorLabels v-if="activeName === 'second'"></IndicatorLabels>
      </el-tab-pane>
    </el-tabs>
  </div>
</template>

<script>
import IndicatorDefinition from './indicator-definition'
import IndicatorLabels from './indicator-labels'
export default {
  name: 'Chart',
  components: { IndicatorDefinition, IndicatorLabels },
  data() {
    return {
      activeName: 'first',
    }
  },
  methods: {},
}
</script>

<style lang="scss"></style>
